public class Application {
   public static void main (String args[]) {
     MobileTelephone telephone = new MobileTelephone ();
     SIM sim = new SIMOfChinaMobile();
     sim.setNumber("1388765643");
     telephone.useSIM(sim);
     telephone.showMess();
     sim=new SIMOfChinaUnicom();
     sim.setNumber("13097656437");
     telephone.useSIM(sim);
     telephone.showMess();
   }
}
